define(function( require ) {

    var App = require('components/image/2.0.0/views/layout');

    return {

        widget: 'image',

        version: '2.0.0',

        initialize: function(options) {
            if(!this._initialized) {
                this._initialized = true;
                this._app = new App(options);
            } else {
                this._app.setOptions(options);
            }
            this._app.show();
        }
    };
});
